﻿<Window
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:local="clr-namespace:WpfApplication1"
    xmlns:IRC="clr-namespace:IRCTest;assembly=IRC"
	x:Class="WpfApplication1.MainWindow"
	
	x:Name="Window"
	Title="Control Panel"
	Width="700" Height="500" Closed="Quit">

<Window.Resources>
        <DataTemplate x:Key="tabItemContent">
            <Grid >
                    <local:CP HorizontalAlignment="Right" Margin="0,4,-3,0" x:Name="Cp1" Width="661" Loaded="Cp1_Loaded" Height="305" VerticalAlignment="Top" />
                    <local:UserControl1 HorizontalAlignment="Left" Margin="7,335,0,0" x:Name="CommandButtons" VerticalAlignment="Top" Width="237" Visibility="Hidden" />
                    
            </Grid>
        </DataTemplate>   
    <Style TargetType="{x:Type Button}" >
		<Setter Property="Opacity" Value="0.75" />
		<Setter Property="Background" Value="Green" />
	</Style>
	<Style x:Key="MemberList" TargetType="{x:Type DataGridRow}">
		<Setter Property="Background" Value="Yellow" />
	</Style>
</Window.Resources>
	<Grid x:Name="LayoutRoot">
        <Grid.RowDefinitions>
            <RowDefinition Height="202*" />
            <RowDefinition Height="259*" />
        </Grid.RowDefinitions>
        <TabControl Height="450" HorizontalAlignment="Left" Margin="0,11,0,0" Name="TabCollection" VerticalAlignment="Top" Width="666" Grid.RowSpan="2">
            <TabItem Header="Overview" Name="MainScreen">
                <Grid >
                    <local:CP HorizontalAlignment="Right" Margin="0,4,-3,0" x:Name="Cp1" Width="661" Height="305" VerticalAlignment="Top" />
                    <local:UserControl1 HorizontalAlignment="Left" Margin="7,335,0,0" x:Name="CommandButtons" VerticalAlignment="Top" Width="237" Visibility="Hidden" />
                    <local:LoginButtons HorizontalAlignment="Left" Margin="38,307,0,-5" x:Name="Loginbtns" Visibility="Visible" Width="374" />
                
                </Grid>
            </TabItem>
        </TabControl>
            </Grid>
</Window>